<?php

/** @var \Illuminate\Database\Eloquent\Factory $factory */

use App\Models\OperationManagement\SanitationSite;
use Faker\Generator as Faker;
use Illuminate\Support\Str;

$factory->define(SanitationSite::class, function (Faker $faker) {
    return [
        'name' => $faker->name,
        'number' => $faker->numberBetween(1,100),
        'category_id' => $faker->numberBetween(1,4),
        'address' => $faker->address,
        // 'lon' => $faker->numberBetween(1,10),
        // 'lat' => $faker->numberBetween(1,10),
        // 'location' => 'POINT(' . $faker->randomFloat(6,-180,180).' '. $faker->randomFloat(6,-90,90) . ')',
        'handle' => $faker->numberBetween(1,4),
        'principal_id' => $faker->numberBetween(1,10),
        'phone' => $faker->numberBetween(1,10000),
        'status' => $faker->numberBetween(1,2),
        'rfid' => $faker->numberBetween(1,10),
        // 'run_time'=>$faker->numberBetween(1,12).'-'.$faker->numberBetween(13,24),
        // 'end_time'=>$faker->numberBetween(1,12).'-'.$faker->numberBetween(13,24),
    ];
});
